/*
 * ParserUtils.h
 *
 * Definicion de tipos utilizados por la clase 'Parser'.
 */

#ifndef PARSER_UTILS_H_
#define PARSER_UTILS_H_

using namespace std;

typedef enum {

	START_READING,
	ATTEMPT_TO_READ_TAG,
	READING_TAG,
	ATTEMPT_TO_READ_TAG_CLOSING,
	END_TAG_READING,
	READING_TAG_CLOSING,
	ATTEMPT_TO_CLOSE_TAG,
	READING_ATTRIBUTE,
	END_ATTRIBUTE_READING,
	END_ATTRIBUTE,
	ATTEMPT_TO_READ_VALUE,
	READING_VALUE,
	END_VALUE,
	ATTEMPT_TO_READ_TAG_CONTENT,
	TAG_CLOSED,
	READING_EXTENDED_TAG_VALUE,
	READING_SIMPLE_TAG_VALUE,
	ATTEMPT_TO_READ_EXTENDED_TAG_VALUE,
	END_TAG_VALUE_READING,
	CLOSING_SIMPLE_TAG,
	ERROR
} Status;

#endif /* PARSER_UTILS_H_ */
